# 基础镜像
FROM openjdk:8-jdk-alpine

# 作者信息
MAINTAINER mis_wu<mis_wu1998@163.com>
# 挂载目录
VOLUME ./logs

# 容器工作目录
WORKDIR /

# 将jar包添加到容器中并更名为gateway-app.jar
ADD ./bobo-planet-middle-business-gateway-server-1.0.0-SNAPSHOT.jar planet-gateway-server.jar

# 运行
ENTRYPOINT ["java","-jar","/planet-gateway-server.jar","--spring.profiles.active=dev","-c"]